package org.esprit.ocm.client.rpc;

import java.util.List;

import org.esprit.ocm.dto.impl.AwsCredentialsDto;
import org.esprit.ocm.dto.impl.ServerDto;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("AwsCredentialsService.rpc")
public interface AwsCredentialsService extends RemoteService {

	public AwsCredentialsDto add(AwsCredentialsDto _o);

	public List<AwsCredentialsDto> fetch();

	public void remove(AwsCredentialsDto _o);

	public int count();
	
	public AwsCredentialsDto findCredentialByServer(ServerDto _o);
}
